package server;

public class Students {
	/**
	 * 
	 * @author XA9
	 * 
	 * Students.java Class that defines a student account
	 */

	/** login id */
	private String loginId;
	/** Password */
	private String password;
	/** CPR number */
	private int cpr;
	/** First name of customer */
	private String firstName;
	/** Last name of customer */
	private String lastName;
	/** balance */
	private double balance;

	/**
	 * Students constructor initializes attributes
	 * 
	 * @param theLoginId
	 * @param thePassword
	 * @param theCpr
	 * @param theFirstName
	 * @param theLastName
	 */
	public Students(String theLoginId, String thePassword, int theCpr,
			String theFirstName, String theLastName, double theBalance) {
		loginId = theLoginId;
		password = thePassword;
		cpr = theCpr;
		firstName = theFirstName;
		lastName = theLastName;
		balance = theBalance;
	}

	/**
	 * Returns the firstname
	 * 
	 * @return firstName
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * Returns the last name
	 * 
	 * @return lastName
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * Returns the CPR number
	 * 
	 * @return cpr
	 */
	public int getCpr() {
		return cpr;
	}

	/**
	 * Returns the login id
	 * 
	 * @return loginId
	 */
	public String getLoginId() {
		return loginId;
	}

	/**
	 * Returns the password
	 * 
	 * @return password
	 */
	public String getPassword() {
		return password;
	}
	
	/**
	 * Returns the balance
	 * 
	 * @return
	 */

	public double getBalance() {
		return balance;
	}

}
